package com.lbw.model;

import java.time.LocalDate;
import java.time.LocalDateTime;

public class Person {
    private String id;
    private String name;
    private String sex;
    private Integer age;
    private LocalDate born;

    public Person() {
    }

    public Person(String id, String name, String sex, Integer age, LocalDate born) {

        this.id = id;
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.born = born;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public LocalDate getBorn() {
        return born;
    }

    public void setBorn(LocalDate born) {
        this.born = born;
    }

    @Override
    public String toString() {
        return "Person{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", age=" + age +
                ", born=" + born +
                '}';
    }
}
